#ifndef AUTOMATIC_MODE_H
#define AUTOMATIC_MODE_H

#include <QWidget>
#include "util/util.h"

namespace Ui {
class AutomaticMode;
}

class AutomaticMode : public QWidget
{
    Q_OBJECT

public:
    explicit AutomaticMode(QWidget *parent = 0);
    ~AutomaticMode();

    void updateMantuableData();

    void initializeBackground(QWidget *widget);
    void setLabelWithBackground(QWidget *widget, const QString &text, QColor backgroundColor, int x, int y);
    void connectButtonsAndSignals();
    void addSpeedClicked();
    void decSpeedClicked();

signals:
    void returnMenu();
    void addSpeedValue();
    void decSpeedValue();

private slots:
    void pushReturnMenu();

private:
    Ui::AutomaticMode *ui;
};

#endif // AUTOMATIC_MODE_H
